package com.hsh.utils;

import lombok.Data;
import lombok.experimental.Accessors;


@Data
@Accessors(chain = true)
public class ResultCode {

    private Integer code;

    private String message;

    public ResultCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }


    public static ResultCode getResult(Integer code, String message) {
        return new ResultCode(code, message);
    }

}
